package com.sunwayworld.baseline.feishu.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @ClassName FeishuLoginConfig
 * @Author zhoujq
 * @Date 2022/9/5
 * @Version 1.0
 **/
@Component
@ConfigurationProperties(prefix = "weihe-feishu")
public class FeishuLoginConfig {
    private String client_id;
    private String client_secret;

    // 跳转登录的url
    private String login_url;

    // 绑定飞书的url
    private String bind_feishu_url;

    // 获取用户token
    private String token_url;

    // 获取用户信息
    private String user_data_url;

    // lims首页
    private String home_url;

    public String getHome_url() {
        return home_url;
    }

    public void setHome_url(String home_url) {
        this.home_url = home_url;
    }

    public String getClient_id() {
        return client_id;
    }

    public void setClient_id(String client_id) {
        this.client_id = client_id;
    }

    public String getClient_secret() {
        return client_secret;
    }

    public void setClient_secret(String client_secret) {
        this.client_secret = client_secret;
    }

    public String getLogin_url() {
        return login_url;
    }

    public void setLogin_url(String login_url) {
        this.login_url = login_url;
    }

    public String getBind_feishu_url() {
        return bind_feishu_url;
    }

    public void setBind_feishu_url(String bind_feishu_url) {
        this.bind_feishu_url = bind_feishu_url;
    }

    public String getUser_data_url() {
        return user_data_url;
    }

    public void setUser_data_url(String user_data_url) {
        this.user_data_url = user_data_url;
    }

    public String getToken_url() {
        return token_url;
    }

    public void setToken_url(String token_url) {
        this.token_url = token_url;
    }
}
